package com.h3c.nem.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdAllWorkerDTO
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_all_worker dto实体
 * Version: 1.0
 */
@ApiModel(value="SdAllWorker对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SdAllWorkerDTO {


    private String workerId;

    private String workerName;

    private Integer dept1id;

    private Integer dept2id;

    private Integer dept3id;

    private Integer dept4id;

    private Integer directDeptId;

    private String postType;

    private String postLevel;

    private String postTypeLevel;

    private String jobType;

    private String jobLevel;

    private String jobLevelName;

    private String jobTypeLevel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date syncTime;

    private String email;

    private String domainAccount;

    private String lockFlag;

    @ApiModelProperty(value = "拼音姓名")
    private String displayName;

    @ApiModelProperty(value = "干部层级")
    private String leaderLevel;

    @ApiModelProperty(value = "入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date joinDate;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "员工类型：1 正式员工；2 合作员工")
    private Integer workerType;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

    @ApiModelProperty(value = "工作履行地")
    private String workCity;

    @ApiModelProperty(value = "身份证前六位")
    private String certificateNoTopSix;

    @ApiModelProperty(value = "办公区域")
    private String site;

    @ApiModelProperty(value = "最高学历毕业院校")
    private String graduateSchool;
}
